<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="js/axios.min.js"></script>
    <script type="text/javascript" src="js/vue.js"></script>
</head>
<body>
<div id="zf">

</div>
<script>
    new Vue({
        el:'#zf',
        data:{
            content:''
        },
        methods:{
            zf:function () {
                axios({
                    url:'zf'
                }).then(rs=>{
                    console.log(rs.data);
                    var mydiv = document.createElement('div');
                    mydiv.innerHTML=rs.data;
                    document.body.appendChild(mydiv);
                    document.forms[0].submit();
                });
            }
        },
        created(){
            this.zf();
        }
    });
</script>
</body>
</html>